public class TestArgs2{
	public static void main(String[] args){
		int[] args1;
		args1=new int[4];
		for(int i=0;i<args.length;i++){
			args1[i]=0;
		}
		for(int i=0;i<args.length;i++){
			args1[i]=Integer.parseInt(args[i]);
		}
		System.out.println(clSum(0,args1));
		}
	public static int clSum(int i,int []arr){
		if(i<arr.length-1)
			return arr[i]+clSum(i+1,arr);
		else return arr[i];
	}
}
